package Entity;


import java.io.Serializable;
import java.util.*;


public class User implements Serializable {
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer userName;  // int is Not an object :-\
	private String password=null;
	private String name;
	private String email;
	private Integer role;
	private HashMap<Integer, ArrayList<Integer>> req_auto_list;
	private ArrayList<String> req_list;
	
	
	
	
	public User(){
		req_auto_list = new HashMap<Integer, ArrayList<Integer>>();
		req_list = new ArrayList<String>();
		userName = new Integer(0);
		role = new Integer(0);
	}
	
	

	public ArrayList<String> getReq_list() {
		return req_list;
	}



	public void setReq_list(ArrayList<String> req_list) {
		this.req_list = req_list;
	}



	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = new String (name);
	}



	public HashMap<Integer, ArrayList<Integer>> getReq_auto_list() {
		return req_auto_list;
	}



	public void setReq_auto_list(HashMap<Integer, ArrayList<Integer>> req_auto_list) {
		this.req_auto_list = req_auto_list;
	}
	
	public int getUserName() {
        return userName;
	}
	
	public String getEmail() {
		return email;
	}



	public void setEmail(String email) {
		this.email = new String (email);
	}



	public String getPassword(){
        return password;
	}
	
	public void setPassword(String Password){
        this.password= new String (Password);
	}
	

	public Integer getRole() {
		return role;
	}



	public void setRole(Integer integer) {
		this.role = new Integer (integer);
	}






	public void setUserName(Integer userName) {
		this.userName = userName;
	}
	

}
